﻿<?php
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PWD','');
define('DB_NAME','car2');
error_reporting(0);
$_conn = mysql_connect(DB_HOST,DB_USER,DB_PWD) or die('数据连接失败');
mysql_select_db(DB_NAME) or die('指定的数据库不存在');
mysql_query('SET NAMES UTF8') or die('字符集错误');
?>